build:
	go-bindata-assetfs -pkg resource -o resource/file.go resource/html/... resource/sql/...
	go build -o bin/example server/main.go

linux:
	go env -w GOOS=linux
	go env -w CGO_ENABLED=0
	go build -o bin/example server/main.go
	go env -w GOOS=windows
	go env -w CGO_ENABLED=1

run:
	go build -o bin/example server/main.go
	./bin/example

push:
	git add .
	git commit -m "update"
	git push

image:
	go env -w GOOS=linux
	go env -w CGO_ENABLED=0
	go build -o bin/example server/main.go
	go env -w GOOS=windows
	go env -w CGO_ENABLED=1
	docker build -t satis-go:0.0.1 -f ./docker/Dockerfile .